package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 培训班商品轮播图对象 danmo_training_shopping_products_carousel
 * 
 * @author kunzong
 * @date 2024-11-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoTrainingShoppingProductsCarousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 培训班商品轮播图表唯一ID */
    private Long id;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** 轮播图图片 */
    @Excel(name = "轮播图图片")
    private String picture;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("picture", getPicture())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
